package com.letv.whatslive.model.dto;

import com.letv.whatslive.model.Firmware;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by liyulin on 2016/1/15.
 */
@Setter
@Getter
public class FirmwareDTO {

    private Long id;
    private String fwName;
    private String fwModel;
    private String fwSystem;
    private String fwVersion;
    private String fwUrl;
    private String fwMD5;

    public FirmwareDTO() {
    }

    public FirmwareDTO(Firmware firmware) {
        this.setId(firmware.getId());
        this.setFwModel(firmware.getFwModel());
        this.setFwUrl(firmware.getFwUrl());
        this.setFwMD5(firmware.getFwMD5());
        this.setFwSystem(firmware.getFwSystem());
        this.setFwName(firmware.getFwName());
        this.setFwVersion(firmware.getFwVersion());
    }
}
